package cn.school.workflow.dao;

import cn.school.workflow.vo.WorkPlanPersonVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkPlanPersonDao extends BaseMapper<WorkPlanPersonVO> {

    /**
     * 查询计划执行人信息
     * @param vo
     * @return
     */
    List<WorkPlanPersonVO> findPersonPlanListByPlanId(@Param("vo") WorkPlanPersonVO vo);

    int findPersonPlanListByPlanIdCount(@Param("vo") WorkPlanPersonVO vo);
}
